import { createApp } from 'vue'
import { createPinia } from 'pinia'

import App from './App.vue'
import router from './router'
import i18n from './language'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import gsap from 'gsap'
import Draggable from 'gsap/Draggable'

import './assets/main.css'

gsap.registerPlugin(Draggable) // 注册拖拽组件

const app = createApp(App)

app.use(createPinia())
app.use(router)
app.use(i18n)
app.use(ElementPlus)

app.mount('#app')
